package com.tungse.study.threadpool;

/**
 * @author Tungse
 */
public class ThrowRejectHandle implements RejectHandle {

    @Override
    public void reject(Runnable task, MyThreadPool threadPool) {
        throw new RuntimeException("阻塞队列满了， 任务被拒绝");
    }
}
